package com.szrt.seller.user.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * `ID` int(11) NOT NULL AUTO_INCREMENT COMMENT 'PK',
  `NAME` varchar(32) DEFAULT NULL COMMENT '用户名',
  `PASSWORD` varchar(32) DEFAULT NULL COMMENT '密码',
  `PHONE` varchar(20) DEFAULT NULL COMMENT '电话',
  `REMAIN` decimal(10,1) DEFAULT NULL COMMENT '余额',
  `INTEGRAL` int(11) DEFAULT NULL COMMENT '积分',
  `MEMBER_LEVEL` char(32) DEFAULT NULL COMMENT '会员等级',
  `ALL_MONEY` decimal(10,1) DEFAULT NULL COMMENT '总充值金额',
  `CREATED_DATE` date DEFAULT NULL COMMENT '创建日期',
  `IS_DELETE` char(1) DEFAULT NULL COMMENT '软删除',
  PRIMARY KEY (`ID`)
 * @author My
 *
 */
/**
 * @author My
 *
 */
public class UserEntity {
	
	private Integer id;
	private String name;
	private String password;
	private String phone;
	/**
	 * 余额
	 */
	private BigDecimal remain;
	/**
	 * 积分
	 */
	private String integral;
	/**
	 * 会员等级
	 */
	private String memberLevel;
	
	/**
	 * 总充值金额
	 */
	private BigDecimal allMoney;
	private Date    createDate;
	
	/**
	 * 软删除
	 */
	private String isDelete;
	
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public BigDecimal getRemain() {
		return remain;
	}
	public void setRemain(BigDecimal remain) {
		this.remain = remain;
	}
	public String getIntegral() {
		return integral;
	}
	public void setIntegral(String integral) {
		this.integral = integral;
	}
	public String getMemberLevel() {
		return memberLevel;
	}
	public void setMemberLevel(String memberLevel) {
		this.memberLevel = memberLevel;
	}
	public BigDecimal getAllMoney() {
		return allMoney;
	}
	public void setAllMoney(BigDecimal allMoney) {
		this.allMoney = allMoney;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public String getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}
	
	@Override
	public String toString() {
		return "UserEntity [id=" + id + ", name=" + name + ", password=" + password + ", phone=" + phone + ", remain="
				+ remain + ", integral=" + integral + ", memberLevel=" + memberLevel + ", allMoney=" + allMoney
				+ ", createDate=" + createDate + ", isDelete=" + isDelete + "]";
	}
	
	

}
